<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // let pink={
        //     uname: 'pink老师',
        //     phonenumber: '13033275125',
        //     gender: '男'
        // }
        // console.log(pink)
        // console.log(typeof pink)//object
        let goods={
            uname: '刘德华',
            song: function(x,y){
                console.log(x+y)

            },
            dance:function(){

            }

        }
        //方法调用
        goods.song(1,2)
    </script>
</body>
</html>